<template>
  <div id="app">
    <div style="min-height: 100vh; background: var(--gray-shallow)">
      <keep-alive>
        <router-view v-if="$route.meta.keepAlive" />
      </keep-alive>
      <router-view v-if="!$route.meta.keepAlive" />
    </div>
    <tab-bar v-if="!$route.meta.isHiddenTabBar" />
  </div>
</template>
<script>
import TabBar from '@/components/tab-bar/tab-bar.vue'
export default {
  components: {
    TabBar
  }
}
</script>
<style>
@import './assets/css/base.css';
</style>
